// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   StringUtil.java

package app;

import java.util.Vector;

public class StringUtil
{

    public StringUtil()
    {
    }

    public static String[] split(String str, char x)
    {
        Vector v = new Vector();
        String str1 = new String();
        for(int i = 0; i < str.length(); i++)
            if(str.charAt(i) == x)
            {
                v.addElement(str1);
                str1 = new String();
            } else
            {
                str1 = str1 + str.charAt(i);
            }

        v.addElement(str1);
        String array[] = new String[v.size()];
        for(int i = 0; i < array.length; i++)
            array[i] = new String((String)v.elementAt(i));

        return array;
    }
}
